package com.ruoyi.common.core.web.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;

/**
 * Entity基类
 * 
 * @author ruoyi
 */
public class BaseEntity implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 搜索值 */
    private String searchValue;



    // Base

    /** 状态（正常、停用，字典表） */
    @Excel(name = "状态", readConverterExp = "正=常、停用，字典表")
    private String sysNormalDisable;

    /** 单据标题 */
    @Excel(name = "单据标题")
    private String docTitle;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String docNum;

    /** 单据时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @Excel(name = "单据时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm")
    private Date docDt;

    /** 备注 */
    @Excel(name = "备注")
    private String docNote;

    /** 经办人ID（用户表ID） */
    @Excel(name = "经办人ID", readConverterExp = "用=户表ID",type = Excel.Type.IMPORT)
    private Long fkAttentionUserId;

    /** 审核人（用户表ID） */
    @Excel(name = "审核人ID", readConverterExp = "用=户表ID")
    private String fkConfirmUserId;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date confirmDt;

    /** 审核结果（字典表） */
    @Excel(name = "审核结果", readConverterExp = "字=典表")
    private String oaDictConfirmStatus;

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String confirmNote;


    /** 备注 */
    @Excel(name = "备注")
    private String[] ids;

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建日期",type = Excel.Type.IMPORT)
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 备注 */
    private String remark;

    /** 请求参数 */
    private Map<String, Object> params;

    /** 日期范围 */
    private String dtRangeBegin;
    private String dtRangeEnd;

    /** 经办人（用户表） */
    @Excel(name = "经办人", readConverterExp = "用户表")
    private String attentionUserNickName;

    /** 审核人（用户表） */
    @Excel(name = "审核人", readConverterExp = "用户表")
    private String confirmUserNickName;

    public String getSysNormalDisable() {
        return sysNormalDisable;
    }

    public void setSysNormalDisable(String sysNormalDisable) {
        this.sysNormalDisable = sysNormalDisable;
    }

    public String getDocTitle() {
        return docTitle;
    }

    public void setDocTitle(String docTitle) {
        this.docTitle = docTitle;
    }

    public String getDocNum() {
        return docNum;
    }

    public void setDocNum(String docNum) {
        this.docNum = docNum;
    }

    public Long getFkAttentionUserId() {
        return fkAttentionUserId;
    }

    public void setFkAttentionUserId(Long fkAttentionUserId) {
        this.fkAttentionUserId = fkAttentionUserId;
    }

    public String getFkConfirmUserId() {
        return fkConfirmUserId;
    }

    public void setFkConfirmUserId(String fkConfirmUserId) {
        this.fkConfirmUserId = fkConfirmUserId;
    }

    public Date getConfirmDt() {
        return confirmDt;
    }

    public void setConfirmDt(Date confirmDt) {
        this.confirmDt = confirmDt;
    }

    public String getOaDictConfirmStatus() {
        return oaDictConfirmStatus;
    }

    public void setOaDictConfirmStatus(String oaDictConfirmStatus) {
        this.oaDictConfirmStatus = oaDictConfirmStatus;
    }

    public String getConfirmNote() {
        return confirmNote;
    }

    public void setConfirmNote(String confirmNote) {
        this.confirmNote = confirmNote;
    }

    @Excel(name = "物料名称")
    private String itemName;

    @Excel(name = "物料编码")
    private String itemNum;


    private String resultMsg;
    private String sysYesNoDone;


    // + + + + setter and getter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    public Date getDocDt() {
        return docDt;
    }

    public void setDocDt(Date docDt) {
        this.docDt = docDt;
    }

    public String getSysYesNoDone() {
        return sysYesNoDone;
    }

    public void setSysYesNoDone(String sysYesNoDone) {
        this.sysYesNoDone = sysYesNoDone;
    }

    public String[] getIds() {
        return ids;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }

    public String getResultMsg() {
        return resultMsg;
    }

    public void setResultMsg(String resultMsg) {
        this.resultMsg = resultMsg;
    }

    public String getDocNote() {
        return docNote;
    }

    public void setDocNote(String docNote) {
        this.docNote = docNote;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getItemNum() {
        return itemNum;
    }

    public void setItemNum(String itemNum) {
        this.itemNum = itemNum;
    }

    public String getAttentionUserNickName() {
        return attentionUserNickName;
    }

    public void setAttentionUserNickName(String attentionUserNickName) {
        this.attentionUserNickName = attentionUserNickName;
    }

    public String getConfirmUserNickName() {
        return confirmUserNickName;
    }

    public void setConfirmUserNickName(String confirmUserNickName) {
        this.confirmUserNickName = confirmUserNickName;
    }

    public String getDtRangeBegin() {
        return dtRangeBegin;
    }

    public void setDtRangeBegin(String dtRangeBegin) {
        this.dtRangeBegin = dtRangeBegin;
    }

    public String getDtRangeEnd() {
        return dtRangeEnd;
    }

    public void setDtRangeEnd(String dtRangeEnd) {
        this.dtRangeEnd = dtRangeEnd;
    }

    public String getSearchValue()
    {
        return searchValue;
    }

    public void setSearchValue(String searchValue)
    {
        this.searchValue = searchValue;
    }

    public String getCreateBy()
    {
        return createBy;
    }

    public void setCreateBy(String createBy)
    {
        this.createBy = createBy;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public String getUpdateBy()
    {
        return updateBy;
    }

    public void setUpdateBy(String updateBy)
    {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime()
    {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime)
    {
        this.updateTime = updateTime;
    }

    public String getRemark()
    {
        return remark;
    }

    public void setRemark(String remark)
    {
        this.remark = remark;
    }

    public Map<String, Object> getParams()
    {
        if (params == null)
        {
            params = new HashMap<>();
        }
        return params;
    }

    public void setParams(Map<String, Object> params)
    {
        this.params = params;
    }


}
